package com.dao.rxjava01.beans;

import android.databinding.BaseObservable;
import android.databinding.Bindable;

import com.dao.rxjava01.BR;

/**
 * Created by Ant on 2017/7/10  14:52
 * <p>
 * <p>
 *
 * @version 1.0.0
 * @auther Ant
 */

public class PeopleBean extends BaseObservable {
    private Long id;
    private String name;
    private String pass;
    private String telphone;


    @Bindable
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
        notifyPropertyChanged(BR.id);
    }

    @Bindable
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
        notifyPropertyChanged(BR.name);
    }

    @Bindable
    public String getPass() {
        return pass;
    }


    public void setPass(String pass) {
        this.pass = pass;
        notifyPropertyChanged(BR.pass);
    }

    @Bindable
    public String getTelphone() {
        return telphone;
    }

    public void setTelphone(String telphone) {
        this.telphone = telphone;
        notifyPropertyChanged(BR.telphone);
    }
}
